import { Message } from 'element-ui'
const promptMessage = function (status,texts,tiems=1500,offset=50) {
  Message({
    showClose: false,
    message: texts,
    type: status,  // string success/warning/info/error
    duration: tiems,
    offset
  })
}
export default promptMessage